function generateRandomArray(length) {
    const arr = [];
    for (let i = 0; i < length; i++) {
        arr.push(Math.floor(Math.random() * 1000));
    }
    return arr;
}

function convertArrayToString(arr) {
    return "[" + arr.join(',') + "]";
}

function paramsGenerator() {
    let arr = generateRandomArray(Math.floor(Math.random() * 100) + 1)
    return convertArrayToString(arr)
}

export default {
    paramsGenerator
}
